package com.his.benchwork.vo;

import com.his.common.verification.group.Insert;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class BenchConfigVo {
    /**
     *
     * 配置编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "配置编码不能为空",groups = Insert.class)
    private String configid;

    /**
     *
     * 配置类型编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "配置类型编码不能为空" ,groups = Insert.class)
    private String configtypeid;

    /**
     *
     * 配置名称
     *
     * @mbggenerated
     */
    @NotEmpty(message = "配置名称不能为空" ,groups = Insert.class)
    private String configname;

    /**
     *
     * 配置描述
     *
     * @mbggenerated
     */
    @NotEmpty(message = "配置描述不能为空" ,groups = Insert.class)
    private String configdes;

    /**
     *
     * 列表选择时的范围类型
     *
     * @mbggenerated
     */
    @NotNull(message = "列表选择时的范围类型不能为空" ,groups = Insert.class)
    private Long scopetype;

    /**
     *
     * 范围值列表
     *
     * @mbggenerated
     */
    @NotEmpty(message = "范围值列表" ,groups = Insert.class)
    private String scopelist;

    /**
     *
     * 复位标志
     *
     * @mbggenerated
     */
    @NotNull(message = "复位标识不能为空" ,groups = Insert.class)
    private Short resetflag;
}
